package Meb;

public class DiamondMember extends Member {
    public DiamondMember(String name) {
        super(name);
    }

    @Override
    public void sendText(String to, String message) {
        System.out.println("钻石会员发送信息：");
        chatRoom.sendText(getName(), to, message);
    }

    @Override
    public void sendImage(String to, String image) {
        System.out.println("钻石会员发送图片：");
        chatRoom.sendImage(getName(), to, image);
    }
}